package com.roowoo.plateform.fallback;

import com.netflix.hystrix.HystrixCommand;
import com.netflix.hystrix.HystrixCommandGroupKey;

/***
 * @project: spring-cloud
 * @package: com.roowoo.plateform.fallback
 * @description: 通过继承HystrixCommand实现的服务降级处理
 * @author: kyrie
 * @mail: 18654169290@163.com
 * @createDate: 2022/3/17 17:56
 */
public class ServiceFailureCommand extends HystrixCommand<String> {
    protected ServiceFailureCommand(HystrixCommandGroupKey group) {
        super(group);
    }

    @Override
    protected String run() throws Exception {
        return null;
    }
}
